<%-- 
    Document   : index
    Created on : 11.02.2013, 22:42:42
    Author     : Jarik
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <form name="RegisterForm" method="POST" action="Controller">
            <input type="hidden" name="command" value ="registerNewUser"/>
            <table>
                <tr>
                    <td>Name*</td>
                    <td><input type="text" name="Name" value="${Name}"></td>
                </tr>
                <tr>
                    <td>Surname*</td>
                    <td><input type="text" name="Surname" value="${Surname}"></td>
                </tr>
                <tr>
                    <td>email*</td>
                    <td><input type="text" name="email" value="${email}"></td>
                </tr>
                <tr>
                    <td>Password*</td>
                    <td><input type="text" name="Password" value="${Password}"></td>
                </tr>
                <tr>
                    <td>Adress</td>
                    <td><input type="text" name="Adress" value="${Adress}"></td>
                </tr> 
                <tr>
                    <td>Telephone*</td>
                    <td><input type="text" name="Telephone" value="${Telephone}"></td>
                </tr>

            </table>
            *-Fields are required to fill   
            <input type="submit" value="submit">
            <br/>  
             <jsp:expression>(request.getAttribute("userregistererror") != null) ? (String) request.getAttribute("userregistererror") : ""</jsp:expression> 
        </form>
    </body>

</html>
